package com.java.proxy.staticproxy;

/**
 * @author liyanhao
 * @Date 2023-02-25 13:33
 */
public class Tank {
    public void move(){
        System.out.println("tank move");
    }

    public static void main(String[] args) {
        Proxy proxy = new Proxy();
        proxy.move();
    }
}

class Proxy extends Tank{
    @Override
    public void move() {
        System.out.println("proxy...");
        super.move();
        System.out.println("proxy...");
    }
}
